Space and circuit complexity of monadic second-order definable problemes on tree-decomposable structures
نویسنده
چکیده
A famous theorem of Courcelle states that every problem that is definable in monadic second-order (mso) logic can be solved in linear time on input structures of bounded tree width. While Courcelle’s result is optimal from the algorithmic point of view, this thesis shows how to solve monadic secondorder definable decision, counting, and optimization problems on tree-widthbounded structures optimally from the complexity theoretic point of view. Beside bounded tree width, the related notion of bounded tree depth is considered. A first set of results covers input structures of bounded tree width, which admit tree decompositions of bounded width. It is shown that all mso-definable decision, counting, and optimization problems are solvable in deterministic logarithmic space (logspace) in this setting. Transferring the powerful framework of mso-definability to logspace allows one to settle the complexity of problems related to finding paths and matchings in graphs: It is shown that answering reachability queries and counting the number of perfect matchings in graphs of bounded tree width can be done in logspace. Moreover, by solving problems on tree-width-bounded graphs as subroutines, problems on inputs of unbounded tree width are solvable in logspace; like deciding whether undirected loop-free graphs have cycles whose length is a multiple of any constant. These results rest on the new technique of constructing width-bounded tree decompositions in logspace. Once tree decompositions are available, a task shown to be complete for logspace, actually solving mso-definable decision and counting problems can be done by logarithmic-depth Boolean and arithmetic circuits, respectively. This finding itself unifies many automaton evaluation tasks studied in the area of logarithmic-depth circuits in an elegant manner using mso-formulæ. To let logarithmic-depth circuits work on tree decompositions whose underlying trees have arbitrary depth, a preprocessing step is used that balances them using constant-depth threshold circuits. The second set of results spans input structures of bounded tree depth, which admit tree decompositions of bounded width whose underlying trees have bounded depth. The logspace results are transferred to this setting to solve mso-definable decision, counting, and optimization problems by constant-depth Boolean, arithmetic, and threshold circuits, respectively. These theorems apply to number problems like solving systems of any constant number of linear equations whose coefficients are given in unary. For their proofs input structures are turned into trees of bounded depth and unbounded degree. Translating mso-formulæ to just the right automaton model for this situation and representing automata computations algebraically by arithmetic circuits lies at the heart of the proofs of these results. In terms of computational power, constant-depth circuits are equivalent to first-order formulæ that have access to ordering and arithmetic predicates defined on the input’s universe. It is shown that these build-in predicates are not needed to evaluate mso-formulæ once input structures are extracted from their string encodings: First-order formulæ and mso-formulæ define the same problems on any class of structures of bounded tree depth. The main building block in the proof of this result is a new constructive Feferman–Vaught-type composition theorem for unbounded partitions.
منابع مشابه
Algorithmic Meta Theorems for Circuit Classes of Constant and Logarithmic Depth
An algorithmic meta theorem for a logic and a class C of structures states that all problems expressible in this logic can be solved efficiently for inputs from C. The prime example is Courcelle’s Theorem, which states that monadic second-order (mso) definable problems are linear-time solvable on graphs of bounded tree width. We contribute new algorithmic meta theorems, which state that mso-def...
متن کاملOn the Logical Complexity of Autosegmental Representations
Autosegmental mapping from disjoint strings of tones and tone-bearing units, a commonly used mechanism in phonological analyses of tone patterns, is shown to not be definable in monadic second-order logic. This is abnormally complex in comparison to other phonological mappings, which have been shown to be monadic second-order definable. In contrast, generation of autosegmental structures from s...
متن کاملOn the Structure of the Monadic Logic of the Binary Tree
Since the work of Rabin [9], it has been known that any monadic second order property of the (labeled) binary tree with successor functions (and not the prefix ordering) is a monadic ∆3 property. In this paper, we show this upper bound is optimal in the sense that there is a monadic Σ2 formula, stating the existence of a path where a given predicate holds infinitely often, which is not equivale...
متن کاملGraph equivalences and decompositions definable in Monadic Second-Order Logic. The case of Circle Graphs
Many graph properties and graph transformations can be formalized inMonadic Second-Order logic. This language is the extension of First-Order logic allowing variables denoting sets of elements. In the case of graphs, these elements can be vertices, and in some cases edges. Monadic second-order graph properties can be checked in linear time on the class of graphs of tree-width at most k for any ...
متن کاملPractical algorithms for MSO model-checking on tree-decomposable graphs
In this survey, we review practical algorithms for graph-theoretic problems that are expressible in monadic second-order logic. Monadic second-order (MSO) logic allows quantifications over unary relations (sets) and can be used to express a host of useful graph properties such as connectivity, c-colorability (for a fixed c), Hamiltonicity and minor inclusion. A celebrated theorem in this area b...
متن کامل